* buffer.h (BUF_COMPACT): New macro to follow the common style.
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 24 Dec 2012 11:41:28 +0000 (15:41 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 24 Dec 2012 11:41:28 +0000 (15:41 +0400)
commit9b3554c282d15d09645ce409e9bed6481ecbf5e5
treea874e1fc14316be1fc415fdcc75ebeae2e2090dc
parent1113fd3cea98e0f83b04f781c8b55e8416bb0808
* buffer.h (BUF_COMPACT): New macro to follow the common style.
* buffer.c (Fget_buffer_create): Use it to set compact field of
struct buffer_text to avoid accessing an uninitialized value
when compact_buffer is called for the first time.
(compact_buffer): Use convenient BUF_COMPACT and BUF_MODIFF.
src/ChangeLog
src/buffer.c
src/buffer.h